package com.jamlu.framework.album;

/**
 * Created by Lin on 2017/7/28.
 * 图片实体类
 */

public class ImageInfo extends CameraInfo{

    //旋转角度
    private int rotation = -1;

    private boolean isSelect = false;

    public int getRotation() {
        return rotation;
    }

    public void setRotation(int rotation) {
        this.rotation = rotation;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    @Override
    public String toString() {
        return "ImageInfo{" +
                "id = " + getId() +
                "path = " + getPath() +
                "size = " + getSize() +
                "lastModified = " + getLastModified() +
                "folder = " + getFolder() +
                "rotation = " + getRotation() +
                "}";
    }
}
